<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://xmlns.jcp.org/jsf/core">
    <ui:composition template="/master.xhtml">
            <ui:define name="menu">
                  <h:commandLink value="Inicio" action="/master.xhtml"/>
        </ui:define>
        <ui:define name="conteudo">
            <legend><i class="icon-bell"></i> Cozinha</legend>
<!--            <h:dataTable var="pedidos" value="#{pedidoMB.pedidos}" class="table table-bordered">
                <h:column  class="info">
                    <f:facet name="header">
                        <h:commandLink value="ID" action="#{pedidoMB.ordenaId()}" />
                    </f:facet>
            #{pedidos.id}             
        </h:column>
        <h:column>
            <f:facet name="header">
                <h:commandLink value="Hora" action="#{pedidoMB.ordenaHora()}" />
            </f:facet>
            #{pedidos.data}                    
        </h:column>                
        <h:column>
            <f:facet name="header">
                <h:commandLink value="Mesa" action="#{pedidoMB.ordenaMesa()}" />
            </f:facet>
            #{pedidos.mesa}          
        </h:column>
        <h:column>
            <f:facet name="header">
                <h:commandLink value="Status" action="#{pedidoMB.ordenaStatus()}" />
            </f:facet>
            #{pedidos.status}                    
        </h:column> 
        <h:column>
            <f:facet name="header">
                <h:commandLink value="Total" action="#{pedidoMB.ordenaValorTotal()}" />
            </f:facet>
            #{pedidos.valorTotal}                    
        </h:column> 
        <h:column>
            <f:facet name="header">                        
            </f:facet>
            <h:commandLink action="#{pedidoMB.excluir(pedidos)}" onclick="return confirm('Deseja realmente excluir?')">
                <i class="icon-trash"></i>
            </h:commandLink>                                          
        </h:column>
        <h:column>
            <f:facet name="header">                        
            </f:facet>
            <h:commandLink action="#{pedidoMB.editarPedido(pedidos)}">
                <i class="icon-edit"></i>
            </h:commandLink>                                          
        </h:column>            
    </h:dataTable>-->
            <table class="table table-bordered">
                <thead><tr>
                          <th class="info" scope="col">Mesa</th>
                        <th class="info" scope="col">Item</th>
                        <th class="info" scope="col">Hora</th>
                        <th class="info" scope="col">Quantidade</th>
                        <th class="info">Garçom</th>
                        
                    </tr></thead>
                 <tr class="">
                    <td>8</td>
                    <td>Chiken wings</td>
                    <td>23:10</td>
                    <td>1</td>
                     <td>Marcelo</td>
                
                  
                </tr>

                <tr class="error">
                    <td>4</td>
                    <td>Tábua de carnes</td>
                    <td>22:30</td>
                    <td>1</td>
                     <td>Pedro</td>
                
                  
                </tr>
               <tr class="warning">
                    <td>9</td>
                    <td>Porção de batatas</td>
                    <td>22:50</td>
                    <td>1</td>
                     <td>Jorge</td>
           
                   
                </tr>
            </table>

        </ui:define>
    </ui:composition>
</html>

